
<%@page import="br.com.fiap.model.Sac"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<jsp:useBean id="sacList" class="br.com.fiap.model.Sac" scope="request" />
<!DOCTYPE html>
<html>
        <head>
        <title>SAC - Pesquisar</title>")
        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
        <link type='text/css' href='css/common.css' rel='stylesheet'/>
        </head>
        <body>
        <div id='formulario'>
        <div>
        <h1>SAC - Pesquisar</h1>
        </div>
        <fieldset>

      <% List<Sac> sacLista = (List<Sac>) request.getAttribute("sacList"); %>
      <% for (Sac s : sacLista) { %>
      <p><label>Nome: </label> <%= s.getNome() %> </p>
          <p><label>Data: </label><%= s.getDtCriacao() %></p>
            <p><label>Produto: </label><%= s.getProduto() %></p>
            <br/>
       <br/>
       <%{%>
      

        <div id='voltarMenu'>
        <a href='index.html'>Voltar Menu</a>
        </div>
        </fieldset>
        </div>
        </body>
 </html>

  